package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.SysEmployee;
import com.ruoyi.system.mapper.SysEmployeeMapper;
import com.ruoyi.system.service.SysEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysEmployeeServiceImpl implements SysEmployeeService {
    @Autowired
    private SysEmployeeMapper sysEmployeeMapper;

    @Override
    public List<SysEmployee> selectSysEmployeeByOrganizationCode(String ORGANIZATION_CODE) {
        return sysEmployeeMapper.selectSysEmployeeByOrganizationCode(ORGANIZATION_CODE);
    }

    @Override
    public SysEmployee selectNameById(String sysEmployeeId) {
        return sysEmployeeMapper.selectNameById(sysEmployeeId);
    }
}
